#include <stdio.h>
#include "string.h"
#include "../vector/vector.h"

int main()
{
	string_t s = string_create("a,b:c");
	
	struct vector *v = vector_create(sizeof(s),0);
	string_split(s,v,":,");
	
	unsigned int i = 0;
	unsigned int size = vector_size(v);
	for(; i < size; ++i)
		printf("%s\n",string_c_str(VECTOR_GET(string_t,v,i)));
	
	
	
	//string_t s1 = string_create(" kenny");
	
	
	
	//s = string_cat(s,s1);
	
	//const char *k = string_find_cstr(s,"k");
	//if(k)
	//	printf("%s\n",k);
	return 0;
}